using System.Collections;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
using UnityEngine.UI;

public class SignUpManager : MonoBehaviour
{
    public InputField userNameInput;
    public InputField passwordInput;
    public InputField verifyCodeInput;

    public void signUp()
    {
        string msg = userNameInput.text + ";" + passwordInput.text + ";" + verifyCodeInput.text;
        GameManager.Instance.gameClient.SendMsg(NetWorkUtils.addFirstInt(Encoding.UTF8.GetBytes(msg), 6));
    }
    public void requstVerifyCode() {
        GameManager.Instance.gameClient.SendMsg(NetWorkUtils.addFirstInt(Encoding.UTF8.GetBytes(userNameInput.text),6));
    }
}
